﻿using StudentManagement.IRepository;
using StudentManagement.IService;
using StudentManagement.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Text;

namespace StudentManagement.Service
{
    public class ClassesService : IClassesService
    {
        private readonly IClassesRepository _classesRepository;
        public ClassesService(IClassesRepository classesRepository)
        {
            _classesRepository = classesRepository;
        }

        public List<ClassesEntity> QueryAll()
        {
            return _classesRepository.QueryAll();
        }
    }
}
